package com.jia.mapper;

import com.jia.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptMapper {

    public int addDept(Dept dept);

    public int deleteDept(Long deptno);

    public int updateDept(Dept dept);

    public List<Dept> selectAll();

    public Dept selectById(Long deptno);

}
